package org.jeecg.modules.demo.Sporder.vo;

import java.util.List;
import org.jeecg.modules.demo.Sporder.entity.Sporder;
import org.jeecg.modules.demo.Sporder.entity.Gordergx;
import org.jeecg.modules.demo.Sporder.entity.Gxcp;
import org.jeecg.modules.demo.Sporder.entity.Gxwuliao;
import org.jeecg.modules.demo.Sporder.entity.Gdcp;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecgframework.poi.excel.annotation.ExcelEntity;
import org.jeecgframework.poi.excel.annotation.ExcelCollection;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @Description: 生产订单
 * @Author: jeecg-boot
 * @Date:   2021-04-23
 * @Version: V1.0
 */
@Data
@ApiModel(value="sporderPage对象", description="生产订单")
public class SporderPage {

	/**主键*/
	@ApiModelProperty(value = "主键")
	private java.lang.String id;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private java.lang.String updateBy;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private java.lang.String sysOrgCode;
	/**工单编号*/
	@Excel(name = "工单编号", width = 15)
	@ApiModelProperty(value = "工单编号")
	private java.lang.String fnumber;
	/**工单名称*/
	@Excel(name = "工单名称", width = 15)
	@ApiModelProperty(value = "工单名称")
	private java.lang.String fname;
	/**工单编制日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "工单编制日期")
	private java.util.Date createTime;
	/**工单发布日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "工单发布日期")
	private java.util.Date updateTime;
	/**工单编制*/
	@ApiModelProperty(value = "工单编制")
	private java.lang.String createBy;
	/**成本对象*/
	@Excel(name = "成本对象", width = 15)
	@ApiModelProperty(value = "成本对象")
	private java.lang.String productobj;
	/**客户*/
	@Excel(name = "客户", width = 15)
	@ApiModelProperty(value = "客户")
	private java.lang.String customer;
	/**计划编号*/
	@Excel(name = "计划编号", width = 15)
	@ApiModelProperty(value = "计划编号")
	private java.lang.String plannumber;
	/**计划名称*/
	@Excel(name = "计划名称", width = 15)
	@ApiModelProperty(value = "计划名称")
	private java.lang.String planname;
	/**责任部门*/
	@Excel(name = "责任部门", width = 15)
	@ApiModelProperty(value = "责任部门")
	private java.lang.String zdepart;
	/**责任人*/
	@Excel(name = "责任人", width = 15)
	@ApiModelProperty(value = "责任人")
	private java.lang.String zzr;
	/**开工日期*/
	@Excel(name = "开工日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "开工日期")
	private java.util.Date kgstart;
	/**开工结束日期*/
	@Excel(name = "开工结束日期", width = 15, format = "yyyy-MM-dd")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
	@ApiModelProperty(value = "开工结束日期")
	private java.util.Date kgend;
	/**工艺代号*/
	@Excel(name = "工艺代号", width = 15)
	@ApiModelProperty(value = "工艺代号")
	private java.lang.String gynumber;
	/**描述*/
	@Excel(name = "描述", width = 15)
	@ApiModelProperty(value = "描述")
	private java.lang.String desp;
	
	@ExcelCollection(name="工单工序信息")
	@ApiModelProperty(value = "工单工序信息")
	private List<Gordergx> gordergxList;
	@ExcelCollection(name="工序成品")
	@ApiModelProperty(value = "工序成品")
	private List<Gxcp> gxcpList;
	@ExcelCollection(name="工序物料")
	@ApiModelProperty(value = "工序物料")
	private List<Gxwuliao> gxwuliaoList;
	@ExcelCollection(name="工单成品")
	@ApiModelProperty(value = "工单成品")
	private List<Gdcp> gdcpList;
	
}
